]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
ScreenShield: fix setting each arrow's opacity on _animateArrows()
authorRui Matos <tiagomatos@gmail.com>
Wed, 22 Jun 2016 19:10:07 +0000 (21:10 +0200)
committerRui Matos <tiagomatos@gmail.com>
Thu, 23 Jun 2016 16:57:04 +0000 (18:57 +0200)
https://bugzilla.gnome.org/show_bug.cgi?id=767954

js/ui/screenShield.js

index 18f512445cf1acb136114695a04c5973fde43634..982d9ba1d9a77f9552066da8e9fe2f94c3101ce1 100644 (file)
@@ -711,7 +711,7 @@ const ScreenShield = new Lang.Class({
         let unitaryDelay = ARROW_ANIMATION_TIME / (arrows.length + 1);
         let maxOpacity = 255 * ARROW_ANIMATION_PEAK_OPACITY;
         for (let i = 0; i < arrows.length; i++) {
-            arrows.opacity = 0;
+            arrows[i].opacity = 0;
             Tweener.addTween(arrows[i],
                              { opacity: 0,
                                delay: unitaryDelay * (N_ARROWS - (i + 1)),